dxp-ux

(0 reviews)

listBucket (TMF654) - V2

This use case is intended to provide

  1. subscriber Estimate Recurring Charge and group discount from Matrixx System(PR)
  2. Retrieve the balances for the PA
URL
https://[localhost]:[port]/dxp-ux/v2/{businessId}/bucket
URI Param
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, PR, etc.) identifying the business unit.Y
nametypedescriptionrequired
client_idstringThe client_id identifying the channel.Y
client_secretstringPassword associated with the client_id.Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.Y
Query Param
nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
logicalResource.idnumberMSISDN numberY(PA, PR)
partyAccount.idnumbersubscription IdY(PR) N(PA)

Note - For PR either 'logicalResource.id' or 'partyAccount.id' is mandatory.

Data Model-Reponse
nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
idstringUnique Identifier within the server for the bucket.Y(PA), N(PR)
hrefstringA resource URI pointing to the resource in the OB that stores the detailed information for the bucket.Y(PA),N/A(PR)
namestringFriendly name to identify the bucket.Y(PA), N(PR)
@typestringWhen sub-classing, this defines the sub-class Extensible name.Y(PA), N(PR)
@baseTypestringWhen sub-classing, this defines the super-class.Y(PA), N(PR)
descriptionstringText describing the contents of the balance managed by the bucket.Y(PA), N(PR)
usageTypestringdefines the type of the underlying Balance e.g. data,voice, any currency e.g. EUR, USD etcY(PA), N(PR)
statusstringstatus for the bucket. active, expired, suspended.Y(PA),N/A(PR)
isSharedbooleanTrue if the bucket is shared between several devices or users.Y(PA), N(PR)
remainingValueobjectAn amount in a given unitY(PA), N(PR)
remainingValue.amountnumberNumeric value in a given unitY(PA), N(PR)
remainingValue.unitsstringUnit for remaining value amountY(PA), N(PR)
validForObjectA period of time, either as a deadline (endDateTime only) a startDateTime only, or bothN(PA), N(PR)
validFor.endDateTimedatetimeEnd of the time periodN(PA), N(PR)
validFor.startDateTimedatetimeStart of the time period. If you define a start, you must also define an endN(PA), N(PR)
relatedParty[]arrayA list of related parties (RelatedParty [*]). Used to provide information about any other entity with relation to the balance, for instance to define customer hierarchy for the balanceN(PA),N(PR)
relatedParty[].idstringunique identifier of related PartyN(PA),N(PR)
relatedParty[].@typestringWhen sub-classing, this defines the sub-class Extensible nameN/A(PA), N(PR)
relatedParty[].@referredTypestringThe actual type of the target instance when needed for disambiguation.N(PA),N/A(PR)
logicalResource[]arrayA list of logical resource references (LogicalResourceRef [*]). reference to the LogicalResourceY(PA), N(PR)
logicalResource[].idstringunique identifier of logical ResourceY(PA),N/A(PR)
logicalResource[].namestringName of the related entity.N/A(PA), N(PR)
logicalResource[].valuestringThe value of the logical resourceN/A(PA), N(PR)
logicalResource[].@typestringWhen sub-classing, this defines the sub-class Extensible name.Y(PA), N(PR)
product[]arrayA list of product referencesY(PA), N(PR)
product[].idstringunique identifier of productY(PA), N(PR)
product[].namestringName of the product.N/A(PA), N(PR)
product[].@typestringWhen sub-classing, this defines the sub-class Extensible name.N/A(PA), N(PR)
taxItem[]arrayLook below taxItem values for more detailsN/A(PA), N(PR)
taxItem[].taxCategorystringtax CategoryN/A(PA), N(PR)
taxItem[].@typestringtax typeN/A(PA), N(PR)
taxItem[].taxAmountobjectA money (Money). Tax applied.N/A(PA), N(PR)
taxItem[].taxAmount.valuefloatAmount of balance updateN/A(PA), N(PR)
taxItem[].taxAmount.unitstringunitN/A(PA), N(PR)
impactedAmountobjectImpacted AmountN/A(PA), N(PR)
impactedAmount.amountfloatthis is an Impact amount for Next Recharge if the customer will be on existing plan.N/A(PA), N(PR)
impactedAmount.unitsstringCurrency (ISO4217 norm uses 3 letters to define the currency)N/A(PA), N(PR)
partyAccountobjectA party account reference (PartyAccountRef). A reference to the account that owns the bucketN(PA), N(PR)
partyAccount.idstringUnique identifier of the party accountN(PA), N(PR)
partyAccount.@typestringWhen sub-classing, this defines the sub-class Extensible nameN/A(PA), N(PR)
remainingValueNamestringRemaining amount in a formatted string for the bucket given in the balance unitY(PA), N/A(PR)
@languagestringlanguageY(PA), N/A(PR)
taxItem subResource - dataModel
taxCategoryDescriptionSample
CITY SALES TAXTax name (set for tax related UpdateType only)PR:
{ "taxAmount": { "unit": "USD", "value": 0.3 }, "taxCategory": "CITY SALES TAX", "@type": "TaxItem" },
STATE SALES TAXTax name (set for tax related UpdateType only)PR:
{ "taxAmount": { "unit": "USD", "value": 0.0 }, "taxCategory": "FEDERAL COST RECOVERY FEE", "@type": "TaxItem" },
PR 911 SERVICE CHARGETax name (set for tax related UpdateType only)PR:
{ "taxAmount": { "unit": "USD", "value": 0.5 }, "taxCategory": "PR 911 SERVICE CHARGE", "@type": "TaxItem" },
FEDERAL COST RECOVERY FEETax name (set for tax related UpdateType only)PR:
{ "taxAmount": { "unit": "USD", "value": 0.0 }, "taxCategory": "FEDERAL COST RECOVERY FEE", "@type": "TaxItem" },
PUERTO RICO REGULATORY FEETax name (set for tax related UpdateType only)PR:
{ "taxAmount": { "unit": "USD", "value": 0.0 }, "taxCategory": "PUERTO RICO REGULATORY FEE", "@type": "TaxItem" },
PR UNIVERSAL SERVICE FUNDTax name (set for tax related UpdateType only)PR:
{ "taxAmount": { "unit": "USD", "value": 0.27 }, "taxCategory": "PR UNIVERSAL SERVICE FUND", "@type": "TaxItem" },
FEDERAL COST RECOVERY CHARGETax name (set for tax related UpdateType only)PR:
{ "taxAmount": { "unit": "USD", "value": 0.0 }, "taxCategory": "FEDERAL COST RECOVERY CHARGE", "@type": "TaxItem" }
FEDERAL UNIVERSAL SERVICE FUNDTax name (set for tax related UpdateType only)PR:
{ "taxAmount": { "unit": "USD", "value": 0.45 }, "taxCategory": "FEDERAL UNIVERSAL SERVICE FUND", "@type": "TaxItem" },
logicalResource subResource - dataModel
field nameDescriptionSample
idService NumberPR:
{ "name": "AccessNumber",
"value": "09122024",
"@type": "MSISDN"
}
PA:
{ "@type": "MSISDN",
"id": "69877286"
}
namename of the logical resourcePR:
{ "name": "AccessNumber",
"value": "09122024",
"@type": "MSISDN"
}
valuevalue of the logicalResourcePR:
{ "name": "AccessNumber",
"value": "09122024",
"@type": "MSISDN"
}
'@type'type of the logical resource,
here it is "MSISDN"
PR:
{ "name": "AccessNumber",
"value": "09122024",
"@type": "MSISDN"
}
PA:
{ "@type": "MSISDN",
"id": "69877286"
}
product subResource - dataModel
field nameDescriptionSample
idunique identifier of productPR:
{
"id": "94",
"name": "Prepaid_Template_Shared",
"@type": "CatalogRef"
}
PA:
{ "id": "69877286"
}
nameName of the productPR:
{ "id": "94",
"name": "Prepaid_Template_Shared",
"@type": "CatalogRef"
}
'@typetype of the product. Here it is "CatalogRef"PR:
{ "id": "94",
"name": "Prepaid_Template_Shared",
"@type": "CatalogRef"
}
Key considerations
PA Implementation
  • This is implemented for mobile prepaid customers.
  • The logicalResource.id (MSISDN) input query parameter should be provided without BU code and country code.
  • The bucket details will be provided from Ericsson charging system.
  • Possible values for state are "Active" and "InActive".
  • For all the dateTime fields
    • Any datetime before 1908-04-22 will show offset -05:18
    • Any datetime on or after 1908-04-22 will show offset -05:00
  • Please refer the responses in following URL: DXP UX API - ListBucket

Reviews